import { call, put } from 'redux-saga/effects'
import axios from 'axios'

function * list() {
    let res = yield call(axios.get, "/getList")
    res = res.data
    yield put({ type: "INIT", res })
}

export default list